package com.chendx.model.behivor.pojo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by chendx on 2022/4/20.
 */
@Data
@Document(collection = "user_collect")
public class UserCollect {

    @Id
    private ObjectId id; //主键id

    private String spuId; //商品id

    private Integer userId;

    private String userName;

    private Integer categoryId;

    private String categoryName;

    private Long created; //关注时间

}
